#pragma once

#include	<Net.h>
#include	<Singleton.h>

class LogConnector : public IBaseConnector, public ISingleton<LogConnector> {
public:
	LogConnector() : IBaseConnector("logserver") {}
	virtual ~LogConnector() {}

	virtual void OnReceive(Protocol * msg) override {}
	void Write(uint64_t pid, const std::string & action, const std::string & detail);
};